*height = layout->height;
}
-/**
- * gtk_layout_freeze:
- * @layout: a #GtkLayout
- *
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_freeze (GtkLayout *layout)
-{
- g_return_if_fail (GTK_IS_LAYOUT (layout));
-
- layout->freeze_count++;
-}
-
-/**
- * gtk_layout_thaw:
- * @layout: a #GtkLayout
- *
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_thaw (GtkLayout *layout)
-{
- g_return_if_fail (GTK_IS_LAYOUT (layout));
-
- if (layout->freeze_count)
- {
- if (!(--layout->freeze_count))
- {
- gtk_widget_queue_draw (GTK_WIDGET (layout));
- gdk_window_process_updates (GTK_WIDGET (layout)->window, TRUE);
- }
- }
-
-}
-
/* Basic Object handling procedures
*/
static void
void gtk_layout_set_vadjustment (GtkLayout *layout,
GtkAdjustment *adjustment);
-
-#ifndef GTK_DISABLE_DEPRECATED
-/* These disable and enable moving and repainting the scrolling window
- * of the GtkLayout, respectively. If you want to update the layout's
- * offsets but do not want it to repaint itself, you should use these
- * functions.
- *
- * - I don't understand these are supposed to work, so I suspect
- * - they don't now. OWT 1/20/98
- */
-void gtk_layout_freeze (GtkLayout *layout);
-void gtk_layout_thaw (GtkLayout *layout);
-#endif /* GTK_DISABLE_DEPRECATED */
-
G_END_DECLS
#endif /* __GTK_LAYOUT_H__ */